xen: Fix determining when domain creation is complete
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Jan 2017 08:43:47 +0000 (09:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Jan 2017 08:43:47 +0000 (09:43 +0100)
commit297cf3d1cf998d2fbc8e63e92034ce08f60c3b60
tree8bb0763f303bf7542e9441b988c45d28b7b5a01a
parent3e902dd55eba8f2668502b88f1220c25dcc5fb40
xen: Fix determining when domain creation is complete

d->creation_finished is used in several places alter behaviour depending on
whether the domain is being created, or is already running.

However, there is a latent bug if a toolstack component makes a pair of
pause/unpause calls, where creation will be considered finished prematurely.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Paul Durrant <paul.durrant@citrix.com>
master commit: 9d71e02e8420b5d4a48d92446a1edbff498ee1c6
master date: 2016-12-13 09:58:33 +0000
xen/common/domain.c